import { MockAdapter } from '@/mock/mock-adapter';
const mock = MockAdapter.getInstance();

import Mock from 'mockjs'
const Random = Mock.Random;

// 获取应用数据
mock.onGet('v7/indexappmenu').reply((config: any) => {
    let status = MockAdapter.mockStatus(config);
    return [status, {
        name: 'appmenu',
        items:  [
            {
	id: '25CA303B-18BE-4073-A8EE-8A0A5EF47A16',
	name: 'menuitem1',
	text: '考勤管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '考勤管理',
	expanded: true,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/kaoqinshezhi.png',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: 'AE742C5D-A723-4BB6-A448-3A263D913356',
	name: 'menuitem2',
	text: '考勤规则',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '考勤规则',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/jiejiariguanli.png',
	textcls: '',
	appfunctag: 'Auto40',
	resourcetag: '',
},
		{
	id: '73494895-12B5-490C-A30E-4F8D1CFEF636',
	name: 'menuitem3',
	text: '考勤设置',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '考勤设置',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/kaoqinshezhi.png',
	textcls: '',
	appfunctag: 'Auto45',
	resourcetag: '',
},
		{
	id: '400F8A17-1717-44A0-81D5-33B27F3264FD',
	name: 'menuitem4',
	text: '考勤记录',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '考勤记录',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/kaoqinjilu.png',
	textcls: '',
	appfunctag: 'Auto27',
	resourcetag: '',
},
		{
	id: 'A9C4ED03-483D-46F8-B479-FA98B1C08733',
	name: 'menuitem5',
	text: '考勤月报',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '考勤月报',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/kaoqinyuebao.png',
	textcls: '',
	appfunctag: 'Auto26',
	resourcetag: '',
},
		{
	id: '4399C466-BCF3-46AB-9817-7AFAF5C8A08F',
	name: 'menuitem6',
	text: '考勤汇总',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '考勤汇总',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/kaoqinhuizong.png',
	textcls: '',
	appfunctag: 'Auto31',
	resourcetag: '',
},
		{
	id: '899EC7A0-0BEA-4943-973C-9C570C5A68FE',
	name: 'menuitem7',
	text: '员工考勤设置',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '员工考勤设置',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/pzgl/1/tuixiuguanli.png',
	textcls: '',
	appfunctag: 'Auto22',
	resourcetag: '',
},
		{
	id: '607C5F0B-AE47-4DC9-B5D2-0BE1612E46C6',
	name: 'menuitem8',
	text: '非员工终止考勤',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '非员工终止考勤',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/guazhidaoqiguanli.png',
	textcls: '',
	appfunctag: 'Auto35',
	resourcetag: '',
},
	],
},
            {
	id: '78BCB6ED-DF43-4DB6-8EC9-44311AE86779',
	name: 'menuitem9',
	text: '休假管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '休假管理',
	expanded: true,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/qingjiaguanli.png',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: 'BA927B75-E1E0-4EB8-8405-942C84E4C274',
	name: 'menuitem11',
	text: '请假管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '请假管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/qingjiaguanli.png',
	textcls: '',
	appfunctag: 'Auto43',
	resourcetag: '',
},
		{
	id: '7AF5135A-C7B8-4CEA-AC32-1E2B7B6CE6CA',
	name: 'menuitem12',
	text: '年休假查询',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '年休假查询',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/shengyunianjiatongji.png',
	textcls: '',
	appfunctag: 'Auto33',
	resourcetag: '',
},
	],
},
            {
	id: '3E9E7BB6-09BA-438C-9D04-091A51351A8E',
	name: 'menuitem10',
	text: '标准化数据设置',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '标准化数据设置',
	expanded: true,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/pzgl/1/xuliegangweiguanxi.png',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: '055E7E95-7554-4A9B-8544-2A7E097379BE',
	name: 'menuitem13',
	text: '休假类型',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '休假类型',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/xiujialeixing.png',
	textcls: '',
	appfunctag: 'Auto21',
	resourcetag: '',
},
		{
	id: '9C798278-2258-4492-9DD0-256B410DDFD8',
	name: 'menuitem14',
	text: '考勤类型',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '考勤类型',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/kaoqinleixing.png',
	textcls: '',
	appfunctag: 'Auto42',
	resourcetag: '',
},
	],
},
        ],
    }];
});

